package com.lry.web.video.service;



import java.io.IOException;
import java.util.Map;

public interface VideoService {

    Map<String,Object> getVideos(String key, String option, Integer from, Integer size) throws IOException;


    int deleteByVideoId(String videoId) throws Exception;

    int deleteByVVId(String vVId) throws Exception;



    int spiderVideo(String title) throws InterruptedException;

    Integer selectNum();

    Map<String,Object> selectVideos(int from , int size,String option,String key);


}
